/*variables*/
$blue: #6eb4e8;
$green: #d1dc73;
$purple: #b1a9d4;
$pink: #ef8dba;
$orange: #f9b975;
$peach: #f4a486;
$gray: #444;

$gap: 3px;

$font: 'Ubuntu', sans-serif;

/*mixins*/
@mixin border-radius($radius) {
    -webkit-border-radius: $radius;
    -moz-border-radius: $radius;
    -ms-border-radius: $radius;
    border-radius: $radius;
}
@mixin box-shadow($top, $left, $blur, $color, $inset: false) {
  @if $inset {
    -webkit-box-shadow:inset $top $left $blur $color;
    -moz-box-shadow:inset $top $left $blur $color;
    box-shadow:inset $top $left $blur $color;
  } @else {
    -webkit-box-shadow: $top $left $blur $color;
    -moz-box-shadow: $top $left $blur $color;
    box-shadow: $top $left $blur $color;
  }
}

/*reset*/
* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: $blue;
}
a:focus {outline:none;}
a::-moz-focus-inner {border:0;}
a:hover {
    text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
    font-family: $font;
    font-weight: normal;
}
img {
    max-width: 100%;
    float: left;
}

/*Base*/
html {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    padding: 0;
    font-family: $font;
    font-weight: 400;
    line-height: 1.4em;
}
.wrapper {
    width: 100%;
}

header {
    width: 100%;
    height: 65px;
    margin-bottom: $gap;
    float: left;
    ul {
        width: 100%;
        float: left;
        margin: 0;
        padding: 0;
        li {
            list-style: none;
            width: 1 / 6 * 100%;
            float: left;
            margin: 0;
            padding: 0 $gap;
            a {
                width: 100%;
                height: 65px;
                line-height: 35px;
                text-align: center;
                background-color: #fff;
                color: $gray;
                display: block;
                border-top: 5px solid;
                font-size: 14px;
                &:hover {
                    text-decoration: none;
                    color: #fff;
                    line-height: 50px;
                    font-size: 16px;
                }
            }
            a.active {
                text-decoration: none;
                color: #fff;
                line-height: 50px;
                font-size: 16px;
            }
        }
    }
    
    a.blue {
        border-color: $blue;
    }
    a.green {
        border-color: $green;
    }
    a.purple {
        border-color: $purple;
    }
    a.pink {
        border-color: $pink;
    }
    a.orange {
        border-color: $orange;
    }
    a.peach {
        border-color: $peach;
    }
    a.blue:hover,
    a.blue.active {
        background: $blue;
    }
    a.green:hover,
    a.green.active {
        background: $green;
    }
    a.purple:hover,
    a.purple.active {
        background: $purple;
    }
    a.pink:hover,
    a.pink.active {
        background: $pink;
    }
    a.orange:hover,
    a.orange.active {
        background: $orange;
    }
    a.peach:hover,
    a.peach.active {
        background: $peach;
    }
}

#content {
    .gr1 {
        a {
            float: left;
            width: 100%;
            line-height: 100px;
            text-align: center;
            color: #fff;
            text-decoration: none;
            &:hover {
                
            }
        }
        a.blue {
            background-color: $blue;
        }
        a.green {
            background-color: $green;
        }
        a.purple {
            background-color: $purple;
        }
        a.pink {
            background-color: $pink;
        }
        a.orange {
            background-color: $orange;
        }
        a.peach {
            background-color: $peach;
        }
    }
}

.gr1, .gr2, .gr3, .gr4 {
    padding: $gap;
}
.gr1 {
    width: 25%;
}
.gr2 {
    width: 50%;
}
.gr3 {
    width: 75%;
}
.gr4 {
    width: 100%;
}
.left {
    float: left;
}
.right {
    float: right;
}

#content {
    width: 4/6*100%;
    margin: 0 1/6*100%;
    float: left;
    position: relative;
}

#i-do {
    position: absolute;
    bottom: 0;
}
#slider {
    overflow: hidden;
    height: 500px;
}
#slider > img {
    min-width: 100%;
    min-height: 100%;
}

footer {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 35px;
    line-height: 50px;
    float: left;
    font-size: 11px;
    color: #999;
    padding: 0 10px;
    #logo{
        float: left;
        a {
            width: 108px;
            height: 35px;
            background: url('../images/logo.jpg');
            float: left;
            margin-right: 10px;
        }
    }
    #kipo{
        float: right;
        height: 35px;
    }
}


/*clearfix*/
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1; /*For IE 6/7 only*/
}

